static char *encoded_points = NULL;
static char *encoded_levels = NULL;
static char *script = NULL;
-static route_head *route_head;
+static route_head *routehead;
static short_handle desc_handle;
static FILE *fd;
{
waypoint *wpt_tmp;
- wpt_tmp = route_find_waypt_by_name( route_head, goog_segname);
+ wpt_tmp = route_find_waypt_by_name( routehead, goog_segname);
if (wpt_tmp) {
xfree(wpt_tmp->shortname);
wpt_tmp->shortname = mkshort(desc_handle,args);
char *str = encoded_points;
char *lstr = encoded_levels;
- route_head = route_head_alloc();
- route_add_head(route_head);
+ routehead = route_head_alloc();
+ route_add_head(routehead);
while ( str && *str )
{
wpt_tmp->route_priority=level;
wpt_tmp->shortname = (char *) xmalloc(7);
sprintf( wpt_tmp->shortname, "\\%5.5x", serial++ );
- route_add_wpt(route_head, wpt_tmp);
+ route_add_wpt(routehead, wpt_tmp);
}
}